Skip to content

linux-omarchy: keep the camera privacy LED lit on Lunar Lake - #798

Open
pkolbas wants to merge 1 commit into
omacom:masterfrom
pkolbas:linux-omarchy-cvs-privacy-led
Open

pkolbas wants to merge 1 commit into
omacom:masterfrom
pkolbas:linux-omarchy-cvs-privacy-led

Conversation

@pkolbas

@pkolbas pkolbas commented Oct 4, 2026

Copy link
Copy Markdown

The last open item from #366: on the Dell Pro 14 Premium (Lunar Lake, CVS bridge INTC10DE, Synaptics 06cb:0701), the camera privacy LED stays dark while the RGB camera is streaming. #723 fixed the user-space side. This one is in the kernel.

Cause

cvs_configure_dev_caps() sets ICVS_HOST_ID_PRIVACY_LED whenever the VID:PID quirk has ICVS_HOST_PRIV_CTRL, and the 06cb:0701 entry has it. That hands the LED over to the host. Nothing on the host side of this board drives it, so it stays off.

The same 06cb:0701 bridge is used on Panther Lake (INTC10E1), where it answers with the 0xCAFEB0BA prefix (ctx->prefix). On Lunar Lake it does not. Intel's out-of-tree driver uses exactly that check: it sends SET_HOST_IDENTIFIER only when magic_num_support is set (intel_cvs.c#L160-L172).

Change

0546-media-cvs-privacy-led-only-on-prefixed-bridges.patch sets the LED bit only when ctx->prefix is set. Otherwise, it logs once:

intel_cvs i2c-INTC10DE:00: privacy LED left to the bridge: no prefix
  • Prefixed bridges (Panther Lake) get the same host ID as before, 0xc0000000.
  • Lunar Lake now gets 0x80000000. Only the LED bit is dropped, and the RGB camera power-up bit is still sent.
  • Resume goes through the same function, so the check applies there too.

The patch is added to both linux-omarchy and linux-omarchy-bore, right after 0542, and pkgrel goes from 6 to 7. Numbers 0543–0545 are already used by open PRs (#787, #480), so it is 0546. Renumber or rebase as you like. Unlike the other patches here, it has no .sig, because only you can sign it.

Testing

Dell Pro 14 Premium PA14250, linux-omarchy 7.2.5-3, intel-ipu7-camera 1.0.6-3. I built intel_cvs out of tree from v7.2.5 + 0541 + 0542 + this patch, the same source the package build produces (patch -Np1 --fuzz=0 gives a byte-identical core.c).

  • Without the patch, on the stock in-tree driver, the LED is dark while streaming (reported in #367).
  • With it, the LED is on for the whole RGB stream, checked by eye. It still lights after s2idle and resume. The IR camera is unaffected.

Not tested: Panther Lake (I don't have the hardware). There, ctx->prefix is set, so nothing changes by construction. What I know about Panther Lake comes from other people's logs. With this driver, INTC10E1 reports Quirks: 0x7a (VID:0x06cb PID:0x0701) (svp7500 notes). With Intel's driver, it gets host_id=0xc0000000 (svp7500#6). A second PA14250 owner confirmed that the equivalent check in the out-of-tree driver brings the LED back (svp7500#6). It would help if a Panther Lake owner from #366 could check that the LED still lights there.

Upstream

The patch is written in upstream form (Fixes: the driver's original commit, Cc: stable, since the driver shipped in v7.2) and also applies cleanly to media/next. I have not posted it to linux-media. Feel free to forward it, or to carry it as is.

Refs #366

The in-tree cvs driver hands the camera privacy LED to the host whenever
the VID:PID quirk says so. The Synaptics 06cb:0701 entry does. On Lunar
Lake (INTC10DE), that bridge does not answer with the 0xCAFEB0BA prefix,
and the board has no host-side LED to take over, so the camera streams
with the LED dark. Intel's out-of-tree driver sends the host identifier
only to prefixed bridges. 0546 applies the same check to the privacy LED
bit alone. Panther Lake bridges answer with the prefix and get the same
host ID as before.

The patch is in upstream form (Fixes:, Cc: stable) but is not on
linux-media yet. It has no .sig, since only the kernel maintainer can
sign it. It is added to both the base and BORE kernels after 0542, and
pkgrel goes from 6 to 7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@pkolbas

pkolbas commented Oct 19, 2026

Copy link
Copy Markdown
Author

Still needed on 4.0.5. On linux-omarchy 7.2.8-9, the BORE recipe after #1231, the LED stays dark while RGB streams on the stock kernel; I checked it by eye today.

The patch itself still applies as is. On v7.2.8 with the current cvs patches (0541, 0542, 0543, 0548), git apply takes it with a 2-line offset and no fuzz. Built that way as a DKMS intel_cvs for 7.2.8-9, from the stock module's source with only this patch on top, it brings the LED back: on for the whole RGB stream, 3 minutes after a reboot, checked by eye.

The PR wrapper around it is out of date. 0546 is taken now, and the cvs patches live in four recipes (linux-omarchy, -eevdf, -muqss, -aarch64), not the two this PR touches. I haven't rebased it, since kernel patches here are carried and signed by hand. If you'd rather take it as a PR, say so and I'll rebase it as 0568 across all four.

Status of the other Lunar Lake items: #366.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant